// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   yn.java

package com.zelix;


// Referenced classes of package com.zelix:
//            kd, zd, ss, rs, 
//            kn, wn

public class yn
    implements kn
{

    private kd a;
    private String b;
    private static String z;

    public yn(kd kd1, String s)
    {
        a = kd1;
        b = s;
    }

    public boolean equals(Object obj)
    {
label0:
        {
            boolean flag;
            yn yn1;
label1:
            {
                boolean flag1 = wn.C;
                if(!(obj instanceof yn))
                    break label0;
                yn1 = (yn)obj;
                if(a != null)
                {
                    if(yn1.a != null)
                    {
                        flag = a.equals(yn1.a);
                        if(!flag1)
                            break label1;
                    }
                    flag = false;
                    if(!flag1)
                        break label1;
                }
                flag = yn1.a == null;
            }
            if(flag)
            {
                if(b != null)
                {
                    if(yn1.b != null)
                        return b.equals(yn1.b);
                    else
                        return false;
                } else
                {
                    return yn1.b == null;
                }
            } else
            {
                return false;
            }
        }
        return false;
    }

    public String a()
    {
        StringBuffer stringbuffer = new StringBuffer();
        stringbuffer.append("<");
        if(a != null)
            switch(a.f())
            {
            case 182: 
            case 183: 
            case 185: 
                zd zd1 = (zd)a;
                ss ss1 = (ss)zd1.p();
                stringbuffer.append(zd1.e() + " " + ss1.b() + "." + ss1.n() + " ");
                if(!wn.C)
                    break;
                // fall through

            case 184: 
            default:
                stringbuffer.append(a.e() + " ");
                break;
            }
        stringbuffer.append("'" + b + z);
        return stringbuffer.toString();
    }

    public String g()
    {
        return b;
    }

    public String b()
    {
        return null;
    }

    public int c()
    {
        return -1;
    }

    public String d()
    {
        return b();
    }

    public int hashCode()
    {
        int i = 0;
        if(a != null)
            i = a.hashCode();
        if(b != null)
            i ^= b.hashCode();
        return i;
    }

    public boolean e()
    {
        return false;
    }

    public boolean f()
    {
        return false;
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 63;
                    break;
                case 1:
                    key = 105;
                    break;
                case 2:
                    key = 45;
                    break;
                case 3:
                    key = 51;
                    break;
                default:
                    key = 1;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static
    {
        z = "\030W";
        z = z(z.toCharArray());
    }
}
